projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc80da5
)
Fix crash when closing fullscreen frame on macOS (bug#28661)
author
Alan Third
<alan@idiocy.org>
Sat, 7 Oct 2017 15:00:49 +0000
(16:00 +0100)
committer
Alan Third
<alan@idiocy.org>
Sat, 7 Oct 2017 20:57:16 +0000
(21:57 +0100)
* src/nsterm.m (EmacsView::windowWillResize): Return new frame size
unmodified if the frame isn't live.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index f0b6a70dae3b37278273c4a1420a17d6f7b26084..abfdffc9f5e272445202b87b1beeaac0ef7b68e6 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-6893,6
+6893,9
@@
not_in_argv (NSString *arg)
NSTRACE_RECT ("[sender frame]", [sender frame]);
NSTRACE_FSTYPE ("fs_state", fs_state);
+ if (!FRAME_LIVE_P (emacsframe))
+ return frameSize;
+
if (fs_state == FULLSCREEN_MAXIMIZED
&& (maximized_width != (int)frameSize.width
|| maximized_height != (int)frameSize.height))